package com.yzy.soft.system.freemarker.database;

import java.util.List;

public class Table {
    private String id ;
    //表类别(可为null)
    private String tableCat ;
    //表模式（可能为空）,在oracle中获取的是命名空间,其它数据库未知
    private String tableSchemaName;
    //表名
    private String tableName;
    //表类型
    private String tableType;
    //表备注
    private String remarks;

    private List<PrimaryKey> primaryKeys;
    private List<Column> columns;


    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public List<PrimaryKey> getPrimaryKeys() {
        return primaryKeys;
    }

    public void setPrimaryKeys(List<PrimaryKey> primaryKeys) {
        this.primaryKeys = primaryKeys;
    }

    public List<Column> getColumns() {
        return columns;
    }

    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    public Table() {
    }

    public Table(String tableName, String tableType, String remarks) {
        this.tableName = tableName;
        this.tableType = tableType;
        this.remarks = remarks;
    }

}
